package com.smedi.ismedi.inmail.core.domain.aggregatemodel;

import com.smedi.ismedi.inmail.core.domain.aggregatemodel.Organization;
import com.smedi.ismedi.inmail.core.domain.aggregatemodel.Project;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.time.LocalDate;
import java.util.List;

/**
 * 通知公告基础信息
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Labor {
    /**
     * id
     */
    private Long id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 性别
     */
    private String gender;
    /**
     * 生日
     */
    private LocalDate birthday;
    /**
     * 项目分配
     */
    private LaborProjectAssignment laborProjectAssignment;

    public Labor(Long id){
        this.id = id;
    }
}